import request from '@/utils/request'

export const getRecordsService = (params) =>
  request.get('/identification_records/page', {
    params
  })

export const addRecordService = (data) => {
  return request.post('/identification_records/add', data)
}

export const delRecordsService = (ids) => {
  return request.delete('/identification_records/delete', {
    params: { ids }
  })
}

export const downloadRecordsService = () => { 
  return request.get('/identification_records/export')
}
